package com.music.checkpoints.common.convert;

import com.music.checkpoints.common.entity.NationQuestion;
import com.music.checkpoints.common.vo.NationQuestionVO;
import org.springframework.beans.BeanUtils;

public class NationQuestion2NationQuestionVO {
    public static NationQuestionVO convert(NationQuestion nationQuestion) {
        NationQuestionVO nationQuestionVO = new NationQuestionVO();
        BeanUtils.copyProperties(nationQuestion, nationQuestionVO);
        return nationQuestionVO;
    }
}
